-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compass 23919 Onboarding flow implement custom bridge method #149
Compass 23919 Onboarding flow implement custom bridge method #149
Conversation
export async function isRenderingInOnboardingFlow(): Promise<boolean> { | ||
try { | ||
const context = await view.getContext(); | ||
return context.extension.renderingLocation === 'onboardingFlow'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add a TODO: comment here with a link to the task to import the package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think due to the open source nature of this repo, it may be impossible to import that package which is not published to npm
Description
Added helper function to know if in onboarding flow and call bridge method for error cases as well as if import is successful.
Checklist
Please ensure that each of these items has been addressed: